package com.lightboat.system.domain.request;

import io.swagger.v3.oas.annotations.media.SchemaProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LogisticsCancelRequest implements Serializable {
    @SchemaProperty(name = "订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @SchemaProperty(name = "物流备注")
    private String remark;

    public LogisticsCancelRequest(Long orderId) {
        this.orderId = orderId;
    }

}
